< previous page page_189 next page >

Page 189
12181-0189a.gif
Figure 7.17.
Using the Toolbar to present multiple
options.
By setting the Style property of the Toolbar button to tbrButton, you can add menu items to the button using the Toolbar button properties page (see Figure 7.18). This gives you the ability to create toolbars that look and work exactly like the ones in Visual Basic and other Microsoft products.
12181-0189b.gif
Figure 7.18.
Using the Toolbar properties page to define
a drop-down button menu.
This new feature enables you to keep the toolbar small, yet still present the user with many options to select from. In addition, you can make the buttons transparent, so that the button will only appear when the mouse passes over it as shown in Figure 7.17.
Besides the new features of the Toolbar control, Visual Basic 6 also includes a new toolbar called the coolbar, which enables you to build the same type of toolbars (see Figure

 
< previous page page_189 next page >

If you like this book, buy it!